package top.infopub.mgr.om.service;

import java.util.List;

import com.github.pagehelper.Page;

import top.infopub.generic.GenericService;
import top.infopub.mgr.om.domain.PaymentApplyDomain;
import top.infopub.mgr.om.vo.PaymentApplyVo;
import top.infopub.model.om.PaymentApply;
import top.infopub.model.om.PaymentApplyAtt;
import top.infopub.model.om.PaymentApplyDetail;

public interface PaymentApplyService extends GenericService<PaymentApply, String> {
 
	/** codegen **/
	
	/**
	 *  新增付款申请
	 * @param preProject
	 * @param items
	 * @param fileAtts
	 */
    void addPaymentApply(PaymentApply paymentApply, 
                       List<PaymentApplyDetail> items, List<PaymentApplyAtt> fileAtts);
    
    
    /**
     * 根据id查询运营付款详情
     * @param id 主键id
     * @return 
     * @see
     */
    PaymentApplyDomain selectById(String id);
    
    /**
     * 根据条件查询分页数据
     * @param PaymentApplyVo
     * @return 
     * @see
     */
    Page<PaymentApplyDomain> selectByDomainWhere(Page<PaymentApplyDomain> page,PaymentApplyVo paymentApplyVo);
    
    /**
     * 根据条件查询-我审批的分页数据
     * @param PaymentApplyVo
     * @return 
     * @see
     */
    Page<PaymentApplyDomain> selectMyCheckByDomainWhere(Page<PaymentApplyDomain> page,PaymentApplyVo paymentApplyVo);
}